#ifndef DIALOG_H
#define DIALOG_H

#include <QDialog>
#include <QThread>
#include <worker.h>

namespace Ui {
class Dialog;
}

class Dialog : public QDialog
{
    Q_OBJECT
    QThread workerThread;
public:
    explicit Dialog(QWidget *parent = 0);
    ~Dialog();

private:
    Ui::Dialog *ui;

signals:
    void operate(const QString &);

private slots:
    void on_pushButton_clicked(const QString &);
};

#endif // DIALOG_H
